package tr.gen._3bit.java._2k1s.web.util.bean;

import java.util.List;

import tr.gen._3bit.java._2k1s.dao.model.SerialInterface;
import tr.gen._3bit.java._2k1s.dao.service.SerialInterfaceService;
import tr.gen._3bit.java._2k1s.web.util.SpringApplicationContext;

public class SerialInterfaces {

	private SerialInterfaceService getService() {
		return (SerialInterfaceService) SpringApplicationContext.getBean("serialInterfaceService");
	}
	public List<SerialInterface> getList() {
		return getService().findAll();
	}
}
